﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for ContactCallMe
/// </summary>
/// 
namespace CE.User
{
    public class ContactCallMe
    {
        private Int64 _callmeid;
        private bool _isexistinguser;
        private string _email;
        private string _fullname;
        private string _contactno;
        private Int16 _calltime;
        private Int64 _agentid;

        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public ContactCallMe()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 CallMeId
        {
            get { return _callmeid; }
            set { _callmeid = value; }
        }

        public bool IsExistingUser
        {
            get { return _isexistinguser; }
            set { _isexistinguser = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string FullName
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string ContactNo
        {
            get { return _contactno; }
            set { _contactno = value; }
        }

        public Int16 CallTime
        {
            get { return _calltime; }
            set { _calltime = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _callmeid = 0;
            _isexistinguser  = false;
            _email = "";
            _fullname = "";
            _contactno = "";
            _calltime = -1;
            _agentid = 0;
            //common field name
            _status = true;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

        }

    }
}